﻿namespace NEclipse.CoreLib
{
  using System.Collections;
  using System.Windows.Forms;
  using NEclipse.CoreLib.Workspace;

  /// <summary>
  /// Interface for a view implementation.
  /// </summary>
  public interface IView
  {
    /// <summary>
    /// Gets the views user control.
    /// </summary>
    UserControl ViewUserControl { get; }

    /// <summary>
    /// Gets the name of the view.
    /// </summary>
    string Name { get; }

    /// <summary>
    /// Initializes the instance with the specified workspace manager.
    /// </summary>
    /// <param name="workspaceManager">The workspace manager.</param>
    void Initialize(WorkspaceManager workspaceManager);
  }
}
